package javabase.biji;

/**
 * @Auther: luzhanshi
 * @Date: 2021/2/2 - 02 - 02 - 15:41 
 * @Description: javabase.biji
 * @version: 1.0
 */
public class _31哈希值 {
    public static void main(String[] args) {
        String s1="信息";
        String s2="科技";
        String s3="重地";
        String s4="通话";
//        System.out.println(s1.hashCode());//658606
//        System.out.println(s2.hashCode());//991951
        System.out.println(s3.hashCode());//1179395
        System.out.println(s4.hashCode());//1179395
        System.out.println(s3==s4);
    }

}
